import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Navpage = lazy(() => import('../../views/zhu/navpage'))
let Appointmentboard = lazy(() => import('../../views/zhu/appointmentboard/Appointmentboard'))
let Workbenches = lazy(() => import('../../views/zhu/workbenches/workbenches'))
let Survey = lazy(()=>import('../../views/zhu/survey/survey'))
let UseAge = lazy(()=>import('../../views/zhu/useAge/useAge'))
let UseSex = lazy(()=>import('../../views/zhu/useSex/useSex')) 
let Social = lazy(()=>import('../../views/zhu/social/social'))//社交
let Repurchase = lazy(()=>import('../../views/zhu/repurchase/repurchase'))//复购
let Produce = lazy(()=>import('../../views/zhu/produce/produce'))//商品
let Performance = lazy(()=>import('../../views/zhu/performance/performance'))//业绩
let Evaluate = lazy(()=>import('../../views/zhu/evaluate/evaluate'))//评价
let Deal = lazy(()=>import('../../views/zhu/deal/deal'))//交易
let Worder = lazy(()=>import('../../views/zhu/worder/worder'))//工单
let Zhu = [
    {
        path: '/zhu/navpage',
        element: <Navpage></Navpage>,
        children: [
            {
                path: 'Appointmentboard',
                element: <Appointmentboard></Appointmentboard>,
            },
            {
                path: 'Workbenches',
                element: <Workbenches></Workbenches>,
            },
            {
                path:'Survey',
                element:<Survey></Survey>
            },
            {
                path:'UseAge',
                element:<UseAge></UseAge>
            },
            {
                path:'UseSex',
                element:<UseSex></UseSex>
            },
            {
                path:"Social",
                element:<Social></Social>
            },
            {
                path:"Repurchase",
                element:<Repurchase></Repurchase>
            },
            {
                path:"Produce",
                element:<Produce></Produce>
            },
            {
                path:"Performance",
                element:<Performance></Performance>
            },
            {
                path:"Evaluate",
                element:<Evaluate></Evaluate>
            },
            {
                path:"Deal",
                element:<Deal></Deal>
            },
            {
                path:"Worder",
                element:<Worder></Worder>
            },
        ]
    },

]

export default Zhu